package cn.xn.hrms.domain.service;

import cn.xn.hrms.api.dto.res.RecruitmentDTO;
import cn.xn.hrms.api.dto.req.RecruitmentReqDTO;
import com.github.pagehelper.PageInfo;

import java.util.Collection;
import java.util.List;

/**
 * @author ysz
 */
public interface RecruitmentService {
    PageInfo<RecruitmentDTO> findAll(Integer departmentId, int recruitStatus, int pageNum, int pageSize);
    List<RecruitmentDTO> all();

    void insert(RecruitmentReqDTO recruitmentReqDTO);

    void deleteByIdIn(Collection<Integer> idList);

    void updateById(Integer id, RecruitmentReqDTO recruitmentReqDTO);
}
